// 注册 Vue-Router 的生命周期函数
import Component from "vue-class-component";

Component.registerHooks([
  'beforeRouteEnter',
  'beforeRouteLeave',
  'beforeRouteUpdate'
])
